<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html">
    
    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link href="#{facesContext.externalContext.requestContextPath}/resources/css/designer.css" rel="stylesheet" type="text/css" />
        <link href="#{facesContext.externalContext.requestContextPath}/resources/css/designer1.css" rel="stylesheet" type="text/css" />

		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
		<script type="text/javascript" src="http://jquery-joshbush.googlecode.com/files/jquery.maskedinput-1.2.2.min.js"></script>
		<script type="text/javascript" src="#{facesContext.externalContext.requestContextPath}/jquery/jquery.slidertron-0.1.js"/>
        
        <script type="text/javascript">
      		//<![CDATA[
        	function dadalto(){
        		window.open ('http://www.listasdadalto.com.br/cgi-bin/lista.pl?acao=montaTelaMenu&lista_id=104885928','mywindow','menubar=1,resizable=1,width=800,height=600'); 
        		return false;	            	
            }

        	function eletrocity(){
        		window.open ('http://www.eletrocity.com.br/cgi-bin/loja.pl?loja=114&pedido=95254876&acao=LP&prod_id=&dep=&secao=&pagina=&passo=&qtd=&formapag=&nome=&email=&cep=&tem=&css=&erro_pag=&erro_cad=&erro_cep=&busca=&pag=&lista=102912552&erro_lista=&teste=0&marca=&variacao=&comparar_prd=&comparar_sec=&ordem=&filtro=&gar=&ano=&dias=&linha=&coluna=&marca_int=&codigo_combo=&tipo_id=&pagDetalhe=&IncCons=&novaUrlHadassa=&pagHadassa=&campo_informativo=&prd_comparados=&autor_id=&perfil_id=&vendedor_id=&variacao_combo=&pedidoBrinde=&tagNav=&var_id=&valor_id=','mywindow','menubar=1,resizable=1,width=800,height=600'); 
        		return false;
        	}  	
            //]]>
      	</script>
        
        <title>Elediane e André</title>
    </h:head>
    
    <h:body>
        
        <div id="tudo">
        
	        <div id="topo">
	        	<h1>Elediane e André </h1>
	    		<div>Eu sei que tudo quanto Deus faz <br/>durará eternamente.<br/>Eclesiastes 3:14</div>
	        </div>
	        
	        <div id="conteudo">
	        	<h:messages/>
	        	<div id="interior">
	        	
	        		<div class="esquerda flutuar-esquerda">
						<ui:insert name="conteudo"/>							
				    </div>  
				    
				    <div class="direita flutuar-direita">
				        
				        <div id="menu">     
				          <h:form>	     
				          <ul id="item">
				          	<li>
				          		<h:commandLink value="Inicio" action="/indice.faces?faces-redirect=true">
				          		</h:commandLink>
				          	</li>
				            <li>
					            <h:commandLink value="Convidados" action="/convidado/listarUI.faces?faces-redirect=true">
				          		</h:commandLink>
				            </li>
				            <li><h:commandLink value="Igreja" onclick="window.open ('/mapa.html','mywindow','menubar=1,resizable=1,width=620,height=450'); return false;"/></li>
				            <li>
				            	<h:outputLink  ></h:outputLink>
				            	<h:commandLink value="Padrinhos" action="/padrinho/listarUI.faces?faces-redirect=true">
				          		</h:commandLink>
				            </li>
							<li>
								<h:commandLink value="Fornecedores" action="/fornecedor/listarUI.faces?faces-redirect=true">
				          		</h:commandLink>
							</li>
							<li>
				            	<h:commandLink value="Presentes(Dadalto)" onclick="dadalto()"/>
					        </li>      
					        <li>
					            <h:commandLink value="Presentes(Eletrocity)" onclick="eletrocity()"/>
					        </li>
				            <li>
				            	<h:commandLink rendered="#{sessao.usuario==null}" value="Logon" action="/login.faces?faces-redirect=true">
				          		</h:commandLink>
				          		<h:commandLink rendered="#{sessao.usuario!=null}" value="Logoff" action="#{loginMB.logoff}">
				          		</h:commandLink>
				            </li>            
				          </ul>
				          </h:form>
				          <br/>
				          <b>Usuário(a) conectado: #{sessao.usuario.nome}</b>
				        </div>
				        
				    </div>
	        	
	        	
	        	</div>	
	        
	        </div>
	        
	        <div id="rodape">
    			<p id="direito">© 2011. Todos os direitos reservados</p>
	        </div>
        
        </div>

    </h:body>
    
</html>